package com.ccx.coachsite.task;
import android.content.Context;

import com.ccx.coachsite.http.HttpCallBack;
import com.ccx.coachsite.http.HttpRequest;
import com.ccx.coachsite.http.UrlConfig;

public class GetGetVerifyTask extends TaskBase {

	private String mobile;
	public GetGetVerifyTask(HttpCallBack<?> iCall, Context context,  String mobile) {
		super(iCall, context);
		mTaskType = TaskType.TaskTypeGetVerifyCode;
		this.mobile = mobile;
	}

	@Override
	protected String genUrl(HttpRequest request)
	{
		String baseUrl = UrlConfig.getUrlByKey(UrlConfig.GetVerifyUrlKey);
		baseUrl = baseUrl + "?mobile=" + mobile;
		return baseUrl;
	}
}
